package com.medical.device.controller;


import com.medical.device.common.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author yy
 * @since 2020-02-27
 */
@Api(tags = "test mysql")
@RestController
@RequestMapping("/new-table")
public class NewTableController {

    @ApiOperation(value = "test", response = String.class)
    @GetMapping("/test")
    public ResponseEntity test() {
        return ResponseEntity.ok(R.success("ok"));
    }

}

